package cn.zsb.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import cn.zsb.entity.Admin;

import java.util.List;
//@Mapper
public interface AdminDao {
    Admin login(@Param("sadmin") String sadmin, @Param("spass") String spass);
    List<Admin> search1(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize);
    int findTotal();
    int add(Admin a);
}
